package com.example.mybatisplusdemo.model.domain;

import com.example.mybatisplusdemo.model.dto.CartItemDTO;

import java.util.List;

public class OrderSubmitRequest {

    private Long userId;
    private Long addressId;
    private List<CartItemDTO> cartItems;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getAddressId() {
        return addressId;
    }

    public void setAddressId(Long addressId) {
        this.addressId = addressId;
    }

    public List<CartItemDTO> getCartItems() {
        return cartItems;
    }

    public void setCartItems(List<CartItemDTO> cartItems) {
        this.cartItems = cartItems;
    }
}
